<include file="Public:header"/>

<div class="main main_knowledge">
	
	<div class="clearfix wrap knowledge_content">
		<div class="left">
			<div class="clearfix search_result">
				<div class="fl"><strong class="cred">"{$keyword}"</strong> 的搜索结果</div>
				<div class="fr">结果数：<strong class="cred">{$count}</strong></div>
			</div>
			
			<div class="knowledge_list">
				<div class="list-box">
					<include file="index_ajax_item"/>
				</div>
				<neq name="ajax_next_page" value="">
					<div class="more load-more" url="{$ajax_next_page}" data-to="list-box">
						<a class="btn_more nojump">加载更多...</a>
					</div>
				</neq>
			</div>
		</div>
		<div class="side">
			<div class="block block_tags">
				<h2>热门标签</h2>
				<div class="content">
					<ul class="clearfix">
						<volist name="hot_tag_list" id="rs">
							<li><a href="{:URL('search')}?tags_id={$rs['tags_id']}">{$rs['content']}</a></li>
						</volist>
					</ul>
				</div>
			</div>
			<div class="block block_search">
				<form action="{:U('search')}" method="get">
					<input type="text" name="keyword" value="" class="text" />
					<input type="submit" name="" value="搜索" class="btn" />
				</form>
			</div>
			<div class="block block_news">
				<h2>热门文章</h2>
				<div class="content">
					<ul>
						<volist name="hot_list" id="rs">
						<li>
							<div class="thumb">
								<a href="{:URL('detail', array('article_id' => $rs['article_id']), 'knowledge/detail_' . $rs['article_id'])}">
									<img src="{:img($rs['cover_url'], 156, 104)}" alt="" />
								</a>
							</div>
							<div class="info">
								<a href="{:URL('detail', array('article_id' => $rs['article_id']), 'knowledge/detail_' . $rs['article_id'])}">
									{:str_cut($rs['title'], 70)}
								</a>
							</div>
						</li>
						</volist>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>

<include file="Public:footer"/>